
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<title>分类搜索页-老师上门</title>
	<link rel="stylesheet" href="__PUBLIC__/mobile/css/public.css">
	<link rel="stylesheet" href="__PUBLIC__/mobile/css/fenlei.css">
	<link rel="stylesheet" href="__PUBLIC__/mobile/css/index.css">
	<script type="text/javascript" src="__PUBLIC__/mobile/js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/mobile/js/fenlei.js"></script>
	<script type="text/javascript" src="__PUBLIC__/mobile/js/index.js"></script>
</head>
<body>
<div id="page" class="showpage">
	<!-- 顶部导航及筛选start -->
	<div class="head_area"> 
	   <div class="cityinfo"> 
	    <a href="javascript:history.back(-1)" class="fl"><img src="__PUBLIC__/mobile/images/arrow_left.png" alt="返回" /></a> 
	    <a href="javascript:;" class="fr search" style="font-size: 16px;padding-right: 5px;">搜索</a> 
	    <p id="cityid" style="background:none;padding-right: 0;">{$city}</p> 
	    
	    <div class="clear"></div> 
	   </div> 
	   <d      iv class="box selectarea"> 
	    <div class="flex grade">
	    <?php if (empty($wh)) { ?>
	    	<a href="javascript:void(0);" id="gradeid"><em>全部</em><span class=""></span></a> 
	    <?php }else { ?>
			<a href="javascript:void(0);" id="gradeid"><em>{$wh}</em><span class=""></span></a> 
	    <?php }?> 
	    </div> 
	    <div class="flex subject"> 
	    <?php if (empty($subject)) { ?>
	    	<a href="javascript:void(0);" id="subjectid"><em>全部</em><span class=""></span></a>
	    <?php }else { ?>
	    	<a href="javascript:void(0);" id="subjectid"><em>{$subject}</em><span class=""></span></a>
	    <?php }?> 
	    </div> 
	    <div class="flex area">
	    <?php if (empty($km)) { ?>
	    	<a href="javascript:void(0);" id="areaid"><em>全部</em><span class=""></span></a> 
	    <?php }else { ?>
	    	<a href="javascript:void(0);" id="areaid"><em>{$km}</em><span class=""></span></a> 
	    <?php }?> 
	    </div> 
	   <!--  <div class="flex three_option"> 
	     <a href="javascript:void(0);"><em> 筛选</em><span class=""></span></a> 
	    </div> --> 
	   </div> 
	   <div class="menushow"> 
	    <div class="xiala"> 
	     <ul class="ul_sty" dat="gradeid">
			 <?php foreach ($nianji as $n) { ?>
			 	<li ><a href="{:U('mobile/classes/index',array('wh'=>$n['grade_name'],'newcity'=>$city))}">{$n.grade_name}</a></li> 
			 <?php } ?>     
	     </ul> 
	    </div> 
	    <div class="xiala"> 
	    	<ul class="ul_sty" dat="subjectid"> 
				<?php foreach ($kecheng as $n) { ?>
					<li ><a href="{:U('mobile/classes/index',array('wh'=>$wh,'subject'=>$n['grade_name'],'newcity'=>$city))}">{$n.grade_name}</a></li> 
				<?php } ?>     
	     	</ul> 
	    </div> 
	    <div class="xiala"> 
	    	<ul class="ul_sty" dat="areaid"> 
	      		<?php foreach ($kms as $n) { ?>
	      			<li ><a href="{:U('mobile/classes/index',array('wh'=>$wh,'subject'=>$subject,'km'=>$n['grade_name'],'newcity'=>$city))}">{$n.grade_name}</a></li>
	      		<?php } ?>
	        </ul> 
	    </div> 
	    <!-- <div class="xiala"> 
	     <div class="ul_sty"> 
	      <div class="sex"> 
	       <p>老师性别：</p> 
	       <div class="sex_option">
	        <span dat="" class="option_selected">全部</span>
	        <span dat="1">男</span>
	        <span dat="2">女</span>
	       </div> 
	       <div class="option_line"></div> 
	      </div> 
	      <div class="shenfen"> 
	       <p>老师身份：</p> 
	       <div class="shenfen_option">
	        <span dat="" class="option_selected">全部</span>
	        <span dat="1">教师</span>
	        <span dat="3">大学生家教</span>
	       </div> 
	       <div class="option_line"></div> 
	      </div> 
	      <div class="sort"> 
	       <p>价格排序：</p> 
	       <div class="sort_option">
	       <span dat="" class="option_selected">全部</span>
	        <span dat="desc">价格从高到低</span>
	        <span dat="asc">价格从低到高</span>
	       </div> 
	       <div class="option_line"></div> 
	      </div> 
	      <div class="price"> 
	       <p>价格区间（元/小时）</p> 
	       <div class="price_option"> 
	       	<span dat="" class="option_selected">全部</span>
	        <span dat="1">0-100</span>
	        <span dat="2">100-150</span>
	        <span dat="3">150-200</span>
	        <span dat="4">200-250</span>
	        <span dat="5">250-300</span>
	        <span dat="6">300以上</span>
	       </div> 
	      </div> 
	     </div> 
	     <div class="button_area"> 
	      <div class="fl reset">
	       重置
	      </div> 
	      <div class="fr commit">
	       确定
	      </div> 
	      <div class="clear"></div> 
	     </div> 
	    </div>  -->

	     <div class="xiala"> 
	     <ul class="ul_sty" id="xialacityid"> 
	        <?php foreach ($citys as $c) { ?>
	        	<li class="selectedelementli"><a href="{:U('mobile/classes/index',array('newcity'=>$c['city_name']))}" class="ciT">{$c['city_name']}</a></li> 
	        <?php } ?>
	     </ul> 
	    </div>
	    
	   </div> 
	  </div>
	<!-- 顶部导航及筛选end -->

	<!-- 老师列表start -->
	<section class="hots bortn" id="laoshilist" style="margin-bottom: 50px;"> 
	   <div class="ui-refresh"> 
	    <div id="data-list">
	    <?php foreach ($chaxuns as $c) { ?>
		    <a href="{:U('mobile/index/ls_one',array('id'=>$c['id'],'newcity'=>$city))}"> 
		      <dl> 
		       <dt> 
		        <ins class="img-container">
		         <img src="__ROOT__{$c.face}"/>
		        </ins> 
		       </dt> 
		       <dd class="dd-l"> 
		        <strong class="t-name"><?php echo mb_substr($c['sfz_name'], 0,1,'UTF-8').'老师' ?><i>教龄{$c.jiaoling}年</i></strong> 
		        <p class="t-tag">{$c.grades}{$c.subject}</p> 
		        <p class="t-tag"><span>ID:{$c.id}</span></p> 
		        <p></p> 
		       </dd> 
		       <dd class="dd-r" style="padding-top: 10px;"> 
		        <span class="t-price"><i>￥<?php echo floatval($c['price']) ?>元</i>/课时</span> 
		        <!-- <span class="t-pingjia">好评率:100%</span> -->
		       </dd> 
		      </dl> 
		    </a>
	    <?php } ?> 
		</div> 
	   </div> 
	  </section>
	<!-- 老师列表end -->

</div>

		<!-- 分类搜索 -->
	<div id="search_hide" class="search_hide" style="position: fixed; top: 0px; width: 100%; z-index: 999; "> 
	   <h2> <span class="close"><img src="__PUBLIC__/mobile/images/close.png" /></span>关键词搜索</h2> 
	   <div id="mallSearch" class="search_mid"> 
	    <div class="searchdotm"> 
	     <form class="mallSearch-form" method="get" name="searchForm" id="searchForm" action="{:U('mobile/classes/index',array('newcity'=>$city))}"> 
	      <input type="hidden" name="type" id="searchtype" value="" /> 
	      <div class="mallSearch-input"> 
	       <div id="s-combobox-135"> 
	        <input class="s-combobox-input" name="keyword" id="keyword" autocomplete="off" value="输入老师姓名或老师ID号" onfocus="if(this.value=='输入老师姓名或老师ID号'){this.value='';}else{this.value=this.value;}" onblur="if(this.value=='')this.value='输入老师姓名或老师ID号'" type="text" /> 
	       </div> 
	       <input type="submit" value="" class="button" /> 
	      </div> 
	     </form> 
	    </div> 
	   </div> 
	  </div>



	  <!-- 底部导航 -->
		<div class="v_nav">
			<div class="vf_nav">
				<ul>
					<li> <a href="{:U('mobile/index/index',array('newcity'=>$city))}"><i class="vf_1"></i>
					    <span>首页</span></a>
					</li>
					<li><a href="{:U('mobile/classes/index',array('newcity'=>$city))}"><i class="vf_2"></i>
					    <span>课程列表</span></a>
					</li>
					<li><a href="tel:18902491208"><i class="vf_3"></i>
					    <span>咨询顾问</span></a>
					</li>
					<li><a href="{:U('mobile/index/index',array('newcity'=>$city))}"><i class="vf_4"></i>
					    <span>为您推荐</span></a>
					</li>

					<li><a href="{:U('mobile/info/ls_home',array('newcity'=>$city))}"><i class="vf_5"></i>
					    <span>个人中心</span></a>
					</li>
				</ul>
			</div>
		</div>
		
<style>
	.hots .t-name i {
    font-size: 12px;
    margin-left: 1em;
}
</style>
</body>
</html>